┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/share/doc/cloud-init/module-docs/cc_wireguard
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: example1.yaml
#cloud-config wireguard: interfaces: - name: wg0 config_path: /etc/wireguard/wg0.conf content: | [Interface] PrivateKey = <private_key> Address = <address> [Peer] PublicKey = <public_key> Endpoint = <endpoint_ip>:<endpoint_ip_port> AllowedIPs = <allowedip1>, <allowedip2>, ... - name: wg1 config_path: /etc/wireguard/wg1.conf content: | [Interface] PrivateKey = <private_key> Address = <address> [Peer] PublicKey = <public_key> Endpoint = <endpoint_ip>:<endpoint_ip_port> AllowedIPs = <allowedip1> readinessprobe: - 'systemctl restart service' - 'curl https://webhook.endpoint/example' - 'nc -zv some-service-fqdn 443'
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 data.yaml
YAML
1.7 KB
2024-11-25 16:09
EDIT
📄 example1.yaml
YAML
779 B
2024-11-25 16:09
EDIT